docs: add FAQ and Troubleshooting section to README#4267
docs: add FAQ and Troubleshooting section to README#4267meichuanyi wants to merge 1 commit intosimstudioai:mainfrom
Conversation
|
Someone is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
PR SummaryLow Risk Overview Expands the README with installation/setup answers (requirements, Reviewed by Cursor Bugbot for commit f5eda6c. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR adds a FAQ and Troubleshooting section to Confidence Score: 4/5Safe to merge after fixing the missing Docker prerequisite note in the npx simstudio FAQ answer. One P1 finding: the FAQ install answer for README.md — specifically the 'How do I install Sim?' FAQ answer around line 196–201 Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[New User Reads README] --> B{Choose deployment}
B -->|Cloud| C[sim.ai managed service]
B -->|Self-hosted| D{Choose method}
D -->|NPM Package| E[npx simstudio]
D -->|Docker Compose| F[docker compose up]
D -->|Manual| G[Bun + PostgreSQL + pgvector]
E -->|Requires| H[Docker must be installed]
F -->|Requires| H
H --> I[App runs on localhost:3000]
G --> I
I --> J{Issue?}
J -->|Port conflict| K[Change port / stop service]
J -->|DB error| L[Check pgvector / connection string]
J -->|Copilot| M[Set COPILOT_API_KEY in .env]
J -->|Workflow issue| N[Check API keys / node connections]
Reviews (1): Last reviewed commit: "docs: add FAQ and Troubleshooting sectio..." | Re-trigger Greptile |
| A: Copilot is a Sim-managed service. Generate a Copilot API key at https://sim.ai → Settings → Copilot, then set `COPILOT_API_KEY` in your `.env` file. | ||
|
|
||
| ### Troubleshooting | ||
|
|
||
| **Port already in use errors** | ||
| - Default ports: 3000 (app), 3002 (sockets), 5432 (PostgreSQL) |
There was a problem hiding this comment.
Missing Docker prerequisite for
npx simstudio
The FAQ answer for "How do I install Sim?" presents npx simstudio without noting that Docker must be installed and running — a hard requirement already called out in the existing Quickstart section (line 59: "Docker must be installed and running on your machine."). A user following only the FAQ could invoke npx simstudio, hit a cryptic Docker error, and have no idea why. The Docker Compose option also requires Docker, so the prerequisite applies to both paths shown here.
| A: Copilot is a Sim-managed service. Generate a Copilot API key at https://sim.ai → Settings → Copilot, then set `COPILOT_API_KEY` in your `.env` file. | |
| ### Troubleshooting | |
| **Port already in use errors** | |
| - Default ports: 3000 (app), 3002 (sockets), 5432 (PostgreSQL) | |
| **Q: How do I install Sim?** | |
| A: The easiest way is using the NPM package (requires Docker to be installed and running): | |
| ```bash | |
| npx simstudio |
Summary
This PR adds a comprehensive FAQ and Troubleshooting section to the README to help new users get started faster and solve common issues without needing to open issues.
Changes
Added FAQ section covering common questions about:
Added Installation & Setup section with solutions for:
Added Troubleshooting section with solutions for:
Included links to documentation, Discord community, and GitHub issues
Motivation
As an open-source AI agent platform with visual workflow building, Sim has unique setup requirements that may be unfamiliar to new users. Having a centralized FAQ/Troubleshooting section in the README helps:
Checklist